﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<DomainModel.Entities.Task>>" %>

    <ul class="task-list">
        <% foreach (var task in Model){%>
            <li class="task <%= task.IsComplete == true ? "complete" : "" %>" id="task-id-<%= task.Id %>">
              <% Html.RenderPartial("TaskSummary", task); %>    
            </li>
        <% } %>
    </ul>


